<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<% 
	String path=request.getContextPath(); 
	String basePath=request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
	request.setAttribute("basePath", basePath); 
%>
<!DOCTYPE html>
<html>
<head>
	<title>Register</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link href="${basePath}view/css/bootstrap.css" rel="stylesheet" type="text/css" media="all" />
	<link href="${basePath}view/css/style.css" rel="stylesheet" type="text/css" media="all" />
	<link href="${basePath}view/css/popuo-box.css" rel="stylesheet" type="text/css" media="all" />
	<link href="${basePath}view/css/memenu.css" rel="stylesheet" type="text/css" media="all" />
	<script src="${basePath}view/js/jquery.min.js"></script>
	<script type="text/javascript" src="${basePath}view/js/memenu.js"></script>
	<script src="${basePath}view/js/simpleCart.min.js"></script>
</head>
<body>
	<!--header-->
	<div class="header">
		<div class="header-top">
			<div class="container">
				<div class="col-md-4 world"></div>
				<div class="col-md-4 logo">
					<a href="${basePath}index.jsp"><img src="${basePath}view/image/logo.png" alt=""></a>
				</div>
				<div class="col-md-4 header-left">
					<p class="log">
						<a href="${basePath}view/login.jsp">Login</a>
					</p>
					<div class="clearfix"></div>
				</div>
				<div class="clearfix"></div>
			</div>
		</div>
	</div>
	<!--//header-->
	<div class="container">
		<div class="register">
			<h1>Register</h1>
			<h3 style="width:350px;margin-left:auto;margin-right:auto;color:red;">${registerError}</h3>
			<form action="${basePath}user/reg.do" method="post">
				<div class="col-md-6  register-top-grid">
					<div class="mation">
						<span>UserName</span>
						<input type="text" name="userName" />
						<span>Phone</span>
						<input type="text" name="phone" />
						<span>Email</span>
						<input type="text" name="email" />
					</div>
				</div>
				<div class=" col-md-6 register-bottom-grid">
					<div class="mation">
						<span>Password</span>
						<input type="password" name="password" />
						<span>Confirm Password</span>
						<input type="password" name="userPass2" />
					</div>
				</div>
				<div class="clearfix"></div>
				<div class="register-but">
					<input type="submit" value="submit" />
				</div>
			</form>
		</div>
	</div>
</body>
</html>